<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
</head>
<body>
    <p>如果你点击 隐藏 按钮我将被隐藏</p>
    <button class="hide">隐藏</button>
    <button class="show">显示</button>
    <script>
        $('.hide').click(function () {
            $('p').hide();
        });
        $('.show').click(function () {
            $('p').show();
        });
    </script>
</body>

</html>